
#ifndef __SKY_BOX__
#define __SKY_BOX__

#include "nvImage.h"

class ShaderObject;
class Camera;


class cSkyBox
{
public:
	cSkyBox(char *fileName);
	~cSkyBox();
	void draw(Camera *cam, ShaderObject *);
	unsigned int getTexId () {return texId;};
private:
	unsigned int createCubemapTexture(nv::Image &img, unsigned int internalformat);
	unsigned int texId;
	ShaderObject *skyBox;
	float modelviewMatrix[16];
};

#endif __SKY_BOX__